package com.summerbird.mallchat.common.user.service;

import com.summerbird.mallchat.common.common.domain.vo.resp.ApiResult;
import com.summerbird.mallchat.common.common.domain.vo.resp.IdRespVO;
import com.summerbird.mallchat.common.user.domain.vo.req.UserEmojiReq;
import com.summerbird.mallchat.common.user.domain.vo.resp.UserEmojiResp;

import java.util.List;

/**
 * @description: 用户表情包功能
 * @author SummerBird
 * @date 2024/1/18 9:05
 * @version 1.0
 */
public interface UserEmojiService {
    /**
     * 该用户的表情包列表
     * @param uid
     * @return
     */
    List<UserEmojiResp> list(Long uid);

    /**
     * 添加表情包
     * @param req
     * @param uid
     * @return
     */
    ApiResult<IdRespVO> insert(UserEmojiReq req, Long uid);

    /**
     * @description: 逻辑删除表情包
     * @author SummerBird
     * @date 2024/1/18 9:26
     * @version 1.0
     */
    void remove(Long id, Long uid);
}
